package com.lwq.reposity;

import com.lwq.entity.Student;

import java.util.Collection;

/**
 * @ClassName
 * @Description
 * @Author liwq
 * @Date 2021/1/31 0:02
 * @Version 1.0
 */
public interface StudentRepository {
    public Collection<Student> findAll();

    public Student findById(long id);

    public void saveOrUpdate(Student s);

    public void deleteById(long id);
}
